{include file="public/header" /}

<body class="gray-bg">
<div class="wrapper wrapper-content">
    <div class="row">
        <form class="form-horizontal" method="post">
            <div class="col-sm-12">
                <div class="tabs-container">
                    <div class="tab-content">
                        <div class="ibox-content">
                            <div class="form-group">
                                <label class="col-sm-2 control-label">状态：</label>
                                <div class="col-sm-9">
                                    <div class="radio i-checks">
                                        <label>
                                            <input type="radio" value="0" name="is_banned" {present name="name"}{eq name="name.is_banned" value="0"}checked{/eq}{else /}checked{/present}>正常
                                        </label>
                                        <label>
                                            <input type="radio" value="1" name="is_banned" {present name="name"}{eq name="name.is_banned" value="1"}checked{/eq}{/present}>冻结
                                        </label>
                                    </div>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label">账号：</label>
                                <div class="col-sm-9">
                                    <input name="name" type="text"  class="form-control" value="{present name='name'}{$name.name}{/present}">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label">密码：</label>
                                <div class="col-sm-9">
                                    <input name="password" type="text"  class="form-control" value="" placeholder="不填写默认为原密码">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label">购买VIP分成占比 (%)：</label>
                                <div class="col-sm-9">
                                    <input name="fencheng_vip" type="number"  class="form-control" value="{present name='name'}{$name.fencheng_vip * 100}{else /}0{/present}">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label">充值分成占比 (%)：</label>
                                <div class="col-sm-9">
                                    <input name="fencheng_topup" type="number"  class="form-control" value="{present name='name'}{$name.fencheng_topup * 100}{else /}0{/present}">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label">聊天分成占比 (%)：</label>
                                <div class="col-sm-9">
                                    <input name="fencheng_chat" type="number"  class="form-control" value="{present name='name'}{$name.fencheng_chat * 100}{else /}0{/present}">
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
    </div>
</div>
</form>
</div>
</div>
{include file="public/footer" /}
{load href="__PLUGINS__iCheck/icheck.min.js"}
{load href="__PLUGINS__iCheck/custom.css"}
<script type="text/javascript">
    $(document).ready(function(){
        $(".i-checks").iCheck({
            checkboxClass: "icheckbox_square-green",
            radioClass: "iradio_square-green",
        })
    })

</script>
{include file="public/bottom" /}
 
